home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / GW AdaEd 1.4.2 / GWAdaDemos / Spider / DRAW12.ADA < prev    next >
Text File  |  1994-01-11  |  214b  |  24 lines

  1. WITH Spider; USE Spider;
  2. PROCEDURE Drawing12 IS
  3.  
  4. PROCEDURE Walk IS
  5. BEGIN
  6. WHILE NOT AtWall LOOP
  7.      Step;
  8. END LOOP;
  9. END Walk;
  10.  
  11. BEGIN
  12. Start;
  13. Red;
  14. Walk;
  15. Turn;
  16. Walk;
  17. Turn;
  18. Walk;
  19. Turn;
  20. Walk;
  21. Turn;
  22. Quit;
  23. END Drawing12;
  24.